<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>添加商品</title>
</head>
<body>
    <h2>录入新商品</h2>
    <form th:action="@{/save}" method="post">

           名称: <input type="text" name="name">
           代码: <input type="text" name="code"><br>
           厂商: <input type="text" rows="10" name="factory"><br>
           包装类型: <input type="text" name="packaging">
           价格: <input type="text" name="price" ><br>

           <input type="submit" value="Save" >
    </form>
</body>
</html>